package com.qboot.common.properties;

import com.qboot.common.consts.CommonConst;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * QBoot 项目配置
 *
 * @author Tellsea
 * @date 2023/2/3
 */
@Data
@Component
@ConfigurationProperties(prefix = CommonConst.PREFIX)
public class QbootProperties {

    /**
     * 登录日志切面
     */
    private Boolean loginLogAspect;
    /**
     * 操作日志切面
     */
    private Boolean logAspect;
    /**
     * 预览模式
     */
    private Boolean previewMode = false;
}
